package cn.com.victorysoft.ylgl.service.fracturingpressure.domain.jobTest;

import cn.com.victorysoft.ylgl.service.commons.domain.BaseEntity;
import cn.com.victorysoft.ylgl.service.commons.json.DateToISODateTimeSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class ReturnDataSum extends BaseEntity {
    private String wellId;

    private String technique;

    private String designOrg;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date flowbackStarttime;

    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date flowbackFinishtime;

    private BigDecimal dullInLiquid;

    private BigDecimal quartzSandVol;

    private BigDecimal cumFluid;

    private BigDecimal cumOil;

    private BigDecimal flowback;

    private BigDecimal cleanupPeriod;

    private String remarks;


    public String getWellId() {
        return wellId;
    }

    public void setWellId(String wellId) {
        this.wellId = wellId == null ? null : wellId.trim();
    }

    public String getTechnique() {
        return technique;
    }

    public void setTechnique(String technique) {
        this.technique = technique;
    }

    public String getDesignOrg() {
        return designOrg;
    }

    public void setDesignOrg(String designOrg) {
        this.designOrg = designOrg;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    public Date getFlowbackStarttime() {
        return flowbackStarttime;
    }

    @JsonSerialize(using = DateToISODateTimeSerializer.class)
    public void setFlowbackStarttime(Date flowbackStarttime) {
        this.flowbackStarttime = flowbackStarttime;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd")
    public Date getFlowbackFinishtime() {
        return flowbackFinishtime;
    }

    @JsonSerialize(using = DateToISODateTimeSerializer.class)
    public void setFlowbackFinishtime(Date flowbackFinishtime) {
        this.flowbackFinishtime = flowbackFinishtime;
    }

    public BigDecimal getDullInLiquid() {
        return dullInLiquid;
    }

    public void setDullInLiquid(BigDecimal dullInLiquid) {
        this.dullInLiquid = dullInLiquid;
    }

    public BigDecimal getQuartzSandVol() {
        return quartzSandVol;
    }

    public void setQuartzSandVol(BigDecimal quartzSandVol) {
        this.quartzSandVol = quartzSandVol;
    }

    public BigDecimal getCumFluid() {
        return cumFluid;
    }

    public void setCumFluid(BigDecimal cumFluid) {
        this.cumFluid = cumFluid;
    }

    public BigDecimal getCumOil() {
        return cumOil;
    }

    public void setCumOil(BigDecimal cumOil) {
        this.cumOil = cumOil;
    }

    public BigDecimal getFlowback() {
        return flowback;
    }

    public void setFlowback(BigDecimal flowback) {
        this.flowback = flowback;
    }

    public BigDecimal getCleanupPeriod() {
        return cleanupPeriod;
    }

    public void setCleanupPeriod(BigDecimal cleanupPeriod) {
        this.cleanupPeriod = cleanupPeriod;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

}